package com.glela.serial.model;

import com.glela.common.model.ProductTag;
import org.springframework.util.StringUtils;

import java.util.List;

/**
 * 商品简单Vo用户展示发现详情页
 * 
 * @author zhangrenjie
 * @date 2017-07-14
 *
 */
public class DiscoveryGoodVo {
	private long goodId;
	private String suggestedPrice;// 建议售价
	private String lowestPrice;// 最低售价
	private String commission ;//可赚金额
	private int goodsType;// 0是C区商品，1是B区商品
	private int selfSupport;//0自营1非自营
	private String name = "";// 商品名称
	private String labelName = "";//别名
	private String navigateImage = "";
	private int inventoryNum ;//库存
	private int orderNo; //排序
	private List<ProductTag> productTags;//产品标签
	private Long talentShareGoodId;
	

	public Long getTalentShareGoodId() {
		return talentShareGoodId;
	}

	public void setTalentShareGoodId(Long talentShareGoodId) {
		this.talentShareGoodId = talentShareGoodId;
	}

	public int getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}

	public int getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(int inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		if (StringUtils.isEmpty(labelName)) {
			this.labelName = "";
		} else {
			this.labelName = labelName;
		}
	}

	public long getGoodId() {
		return goodId;
	}

	public void setGoodId(long goodId) {
		this.goodId = goodId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		if (StringUtils.isEmpty(name)) {
			this.name = "";
		} else {
			this.name = name;
		}
	}



	public String getSuggestedPrice() {
		return suggestedPrice;
	}

	public void setSuggestedPrice(String suggestedPrice) {
		this.suggestedPrice = suggestedPrice;
	}

	public String getLowestPrice() {
		return lowestPrice;
	}

	public void setLowestPrice(String lowestPrice) {
		this.lowestPrice = lowestPrice;
	}

	public String getCommission() {
		return commission;
	}

	public void setCommission(String commission) {
		this.commission = commission;
	}

	public int getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}

	public int getSelfSupport() {
		return selfSupport;
	}

	public List<ProductTag> getProductTags() {
		return productTags;
	}

	public void setProductTags(List<ProductTag> productTags) {
		this.productTags = productTags;
	}

	public void setSelfSupport(int selfSupport) {
		this.selfSupport = selfSupport;
	}
	public String getNavigateImage() {
		return navigateImage;
	}

	public void setNavigateImage(String navigateImage) {
		if (StringUtils.isEmpty(navigateImage)) {
			this.navigateImage = "";
		} else {
			this.navigateImage = navigateImage;
		}
	}
}
